#include <iostream>
#include <boost/thread.hpp>
#include <time.h>

int main() {
    clock_t t1 = clock();
    boost::this_thread::sleep(boost::posix_time::milliseconds(1));
    std::cout << "Hello, World!" << std::endl;
    boost::this_thread::sleep(boost::posix_time::microseconds(1));
    clock_t t2 = clock();
    printf("%ld\n", t2-t1);
    double total_t = (double)(t2 - t1) / CLOCKS_PER_SEC;
    printf("time: %f\n", total_t);
    return 0;
}
